package DesignPattern.Singleton;

public class StaticInnerClass {
    private static class SingletonHolder{
        private static final StaticInnerClass instance = new StaticInnerClass();
    }

    private StaticInnerClass(){}

    public StaticInnerClass getInstance(){
        return SingletonHolder.instance;
    }
}
